<?php
chdir("..");
include "t16cms/php/config.php";
include "t16cms/php/user.php";
include "forum/functions.php";
include "forum/xstyle.php";

ob_start();
if (get_reg()==1) {
// ok, we got in
if (get_right($site_user['access'],1)) {
//ok we at least member
// link to add new post in topic

mysql_connect($dbhost, $dbuser, $dbpasswd);
mysql_query('SET NAMES cp1251');
$query="select * from `".$dbprefix."users`";
$result=mysql_db_query($dbname, $query);
$i=1;
$site_output=users_start();
while($row=mysql_fetch_array($result)) {
  $site_output=$site_output.user($row);
  $i=$i+1;
};
$site_output=$site_output.users_end();
mysql_free_result($result);

}
}else{
$site_output="Only for registred users";
}
ob_end_clean();








include "forum/menu.php";
include "forum/style.php";





?>